export default {
  namespaced: true,
  state: {
    userInfo: {
      gradeAndClass: []
    },
    keyword: '',
    filter: {
      starttime: '',
      endtime: '',
      cityId: 0,
      countyId: 0,
      tcId: -1,
      type: '全部',
      fieldValue: '全省'
    }

  },
  getters: {

  },

  mutations: {
    getword (state, value) {
      state.keyword = value
    },

    editfilter (state, value) {
      state.filter = { ...value }
    },

    getGradeAndClass (state, payload) {
      state.gradeAndClass = [...payload]
    }
  },
  actions: {

  }
}
